home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5009 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: andrew.cmu.edu!bo24+
  2. From: Berend Ozceri <bo24+@andrew.cmu.edu>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: Thu,  7 Mar 1996 18:33:53 -0500
  6. Organization: Masters student, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
  7. Message-ID: <UlDr9Vu00WBN07vIAh@andrew.cmu.edu>
  8. References: <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@
  9.     <4hm7qm$otm@news.uni-paderborn.de><4hmpfb$5pi@news.xs4all.nl> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu>
  10.     <1219.6640T1186T779@cs.ruu.nl>
  11. NNTP-Posting-Host: po9.andrew.cmu.edu
  12. In-Reply-To: <1219.6640T1186T779@cs.ruu.nl>
  13.  
  14. Excerpts from netnews.comp.sys.amiga.programmer: 7-Mar-96 Re: FindTask()
  15. VERY IMPORTANT by Wessel Dankers@cs.ruu.nl 
  16. > Berend Ozceri <bo24+@andrew.cmu.edu> wrote:
  17. > > Any changes in the Exec micro-kernel, especially in the scheduler,
  18. > > especially leaning towards multiprocessor support would make that field
  19. > > obsolete.
  20. >  
  21. > exec/execbase.h:
  22. >   struct  Task *ThisTask; /* pointer to current task (readable) */
  23. >  
  24. > Since it is documented as readable, my guess is that it will remain readable,
  25. > AT will probably kludge it if they change the scheduler. On multiprocessor-
  26. > computers, they could try to fix it using the MMU.
  27.  
  28. Could you please explain to me why using the provided exec.library
  29. function is such a hassle that you would rather peek around system
  30. structures yourself? Does it make your code look cooler or something?
  31.  
  32. I am not by any means proposing that Amiga Technologies should make this
  33. field obsolete in order to intentionally break programs, but I see no
  34. reason why anyone would rather peek the structure directly than using
  35. FindTask(NULL).
  36.  
  37. Berend Ozceri
  38. Carnegie Mellon University
  39.  
  40.